#ifndef CONFIG_H
#define CONFIG_H

#include <string>

class Config
{
    private:
        int SCREEN_WIDTH;
        int SCREEN_HEIGHT;
        int SCREEN_BPP;
        int SCREEN_FULLSCREEN;
        int FRAMES_PER_SECOND;
        int ENABLE_FPS_CAP;

        int AUDIO_FREQUENCY;
        int AUDIO_CHANNELS;
        int AUDIO_CHUNKSIZE;

        int MAP_WIDTH;
        int MAP_HEIGHT;

        int MINIMAP_WIDTH;
        int MINIMAP_HEIGHT;

        std::string SERVER_IP;
        int SERVER_PORT;
        std::string USERNAME; // saattaa bugaa, niinku server_ip !

    public:
        void load_config(std::string iniFile);

        int get_screen_width();
        int get_screen_height();
        int get_screen_bpp();
        int get_screen_fullscreen();
        int get_frames_per_second();
        int get_enable_fps_cap();

        int get_audio_frequency();
        int get_audio_channels();
        int get_audio_chunksize();

        int get_map_width();
        int get_map_height();

        int get_minimap_width();
        int get_minimap_height();

        std::string get_server_ip();
        int get_server_port();
        std::string get_username();
};

#endif // CONFIG_H
